﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NDepot.Models;
using NDepot.Models.UI;

namespace NDepot.Manager.Base
{
    public interface IProductManager : IManager
    {
        IList<ProductInput> GetAll();

        bool IsUniqueTitle(string title);

        void Insert(ProductInput product);

        void Update(ProductInput productInput);

        void Delete(string id);

        ProductInput GetInputById(string id);

        IList<ProductInput> FindProductsForSale();

        IList<OrderInput> GetOrdersByProductId(string id);
    }
}